package cn.yhz.pethome.dept.service.impl;

import cn.yhz.pethome.dept.domain.Shop;
import cn.yhz.pethome.dept.mapper.ILogininfoMapper;
import cn.yhz.pethome.dept.mapper.IShopMapper;
import cn.yhz.pethome.dept.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class ShopServiceImpl implements IShopService {
    @Autowired
    private IShopMapper shopMapper;
    @Override
    public List<Shop> selectAll() {
        return shopMapper.selectAll();
    }
}
